<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui/css/H-ui.min.css"/>
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/H-ui.admin.css"/>
    <link rel="stylesheet" type="text/css" href="../../../lib/Hui-iconfont/1.0.8/iconfont.css"/>
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/skin/default/skin.css" id="skin"/>
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/style.css"/>
    <link rel="stylesheet" href="../../../lib/pagination/pagination.css">
    <link rel="stylesheet" type="text/css" href="../../../ht-css/Project.css"/>
    <link rel="stylesheet" type="text/css" href="../../../ht-css/style-q.css"/>
    <title></title>
</head>
<style>
</style>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页  <span class="c-gray en">&gt;</span>品牌官网配置 <span class="c-gray en">&gt;</span> 首页设置<span class="c-gray en">&gt;</span> 首页详情<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<article class="page-container">
    <form class="ml-20 mr-20 " id="form-memberadd">
        <div class="bk-gray bg-1 pt-20">
            <table class="table table_li">
                <tbody>
                <tr>
                    <td>
                        <div class="row ml-10 clearfix ">
                            <label class="f-l lh-26 w-200 text-r"><span class="c-red mr-5 ml-30 va-t">*</span><span>首页导航色值设置：</span></label>
                            <div class="formControls f-l">
                               <input   maxlength="7" type="text" class="input-text f-l w-250"
                                    id="websiteColor"  name="websiteColor"  placeholder="请输入首页导航色值设置"  autocomplete="off" oninput="value=value.replace(/[\u4E00-\u9FA5]/g,'')">
                            </div>
                        </div>
                    </td>

                </tr>
                <tr>
                    <td>
                        <div class="row ml-10 clearfix">
                            <label class="f-l lh-26 w-200 text-r"><span class="c-red mr-5 ml-30 va-t">*</span><span>首页导航栏重命名：</span></label>
                            <div class="mt-10 bk-gray" style="height: 290px;overflow: auto;width: 525px;">
                                <ul class="">
                                    <div style="margin-left: -65px;margin-top: 10px;position: absolute;">
                                        <label class="f-l lh-26 w-200 text-r"><span class="navigationName1">官网首页</span></label>
                                        <a  class="f-l ml-80 radius modifyName1" style="margin-top: 2px;" onclick="modifyName(1)">修改名称</a>
                                        <div class="formControls f-l">
                                        <input class="input-text f-l ml-40 radius preservation1" name="rename1" type="text" style="width: 124px;display: none" autocomplete="off" onkeyup="value=value.replace(/[^\a-zA-Z\u4E00-\u9FA5]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\a-zA-Z\u4E00-\u9FA5]/g,''))" maxlength="6"><!--只能输入中文和英文-->
                                        </div>
                                        <input class="btn f-l ml-40 radius size-S preservationbutton1" type="button" style="display: none"  value="保&nbsp;&nbsp;存" onclick="preservation(1)">

                                    </div>


                                    <div style="margin-left: -65px;margin-top: 54px;position: absolute;">
                                        <label class="f-l lh-26 w-200 text-r"><span class="navigationName2">诚招代理</span></label>
                                        <a  class="f-l ml-80 radius modifyName2" style="margin-top: 2px;" onclick="modifyName(2)">修改名称</a>
                                        <div class="formControls f-l">
                                        <input class="input-text f-l ml-40 radius preservation2" name="rename2" type="text" style="width: 124px;display: none" autocomplete="off" onkeyup="value=value.replace(/[^\a-zA-Z\u4E00-\u9FA5]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\a-zA-Z\u4E00-\u9FA5]/g,''))" maxlength="6">
                                        </div>
                                        <input class="btn f-l ml-40 radius size-S preservationbutton2" type="button" style="display: none"  value="保&nbsp;&nbsp;存" onclick="preservation(2)">
                                    </div>

                                    <div style="margin-left: -65px;margin-top: 98px;position: absolute;">
                                        <label class="f-l lh-26 w-200 text-r"><span class="navigationName3">产品中心</span></label>
                                        <a  class="f-l ml-80 radius modifyName3" style="margin-top: 2px;" onclick="modifyName(3)">修改名称</a>
                                        <div class="formControls f-l">
                                        <input class="input-text f-l ml-40 radius preservation3" name="rename3" type="text" style="width: 124px;display: none" autocomplete="off" onkeyup="value=value.replace(/[^\a-zA-Z\u4E00-\u9FA5]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\a-zA-Z\u4E00-\u9FA5]/g,''))" maxlength="6">
                                        </div>
                                        <input class="btn f-l ml-40 radius size-S preservationbutton3" type="button" style="display: none"  value="保&nbsp;&nbsp;存" onclick="preservation(3)">
                                    </div>

                                    <div style="margin-left: -65px;margin-top: 142px;position: absolute;">
                                        <label class="f-l lh-26 w-200 text-r"><span class="navigationName4">新闻中心</span></label>
                                        <a  class="f-l ml-80 radius modifyName4" style="margin-top: 2px;" onclick="modifyName(4)">修改名称</a>
                                        <div class="formControls f-l">
                                        <input class="input-text f-l ml-40 radius preservation4" name="rename4" type="text" style="width: 124px;display: none" autocomplete="off" onkeyup="value=value.replace(/[^\a-zA-Z\u4E00-\u9FA5]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\a-zA-Z\u4E00-\u9FA5]/g,''))" oninput="checkMaxIut(this,1)">
                                        </div>
                                        <input class="btn f-l ml-40 radius size-S preservationbutton4" type="button" style="display: none"  value="保&nbsp;&nbsp;存" onclick="preservation(4)">
                                    </div>

                                    <div style="margin-left: -65px;margin-top: 186px;position: absolute;">
                                        <label class="f-l lh-26 w-200 text-r"><span class="navigationName5">联系我们</span></label>
                                        <a  class="f-l ml-80 radius modifyName5" style="margin-top: 2px;" onclick="modifyName(5)">修改名称</a>
                                        <div class="formControls f-l">
                                        <input class="input-text f-l ml-40 radius preservation5" name="rename5" type="text" style="width: 124px;display: none" autocomplete="off" onkeyup="value=value.replace(/[^\a-zA-Z\u4E00-\u9FA5]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\a-zA-Z\u4E00-\u9FA5]/g,''))" oninput="checkMaxIut(this,1)">
                                        </div>
                                        <input class="btn f-l ml-40 radius size-S preservationbutton5" type="button" style="display: none"  value="保&nbsp;&nbsp;存" onclick="preservation(5)">
                                    </div>

                                    <div style="margin-left: -65px;margin-top: 230px;position: absolute;">
                                        <label class="f-l lh-26 w-200 text-r"><span class="navigationName6">客户留言</span></label>
                                        <a  class="f-l ml-80 radius modifyName6" style="margin-top: 2px;" onclick="modifyName(6)">修改名称</a>
                                        <div class="formControls f-l">
                                        <input class="input-text f-l ml-40 radius preservation6" name="rename6" type="text" style="width: 124px;display: none" autocomplete="off" onkeyup="value=value.replace(/[^\a-zA-Z\u4E00-\u9FA5]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\a-zA-Z\u4E00-\u9FA5]/g,''))" oninput="checkMaxIut(this,1)">
                                        </div>
                                        <input class="btn f-l ml-40 radius size-S preservationbutton6" type="button" style="display: none"  value="保&nbsp;&nbsp;存" onclick="preservation(6)">
                                    </div>
                                </ul>
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="row ml-10 clearfix">
                            <label class="f-l lh-26 w-200 text-r"><span>首页logo与二维码配置：</span></label><br>
                            <span style="float: left;margin-left: 16px;"><span class="c-red mr-5 ml-30 va-t">*</span>logo</span><br>
                            <div style="float:left;margin: 0 30px 0 206px;width: 122px;height: 122px;" class=" pic_up"><img title=""  width="112" height="112" src="" id="myImg"></div>
                              <div style="float:left;">
                                  <span>

                                     <input id="fileUpone" type="file" style="display: none"  onchange="putDataToPage(event,this,1)" accept=".jpg,.png,.jpeg"  name="file"  class="fileupmoban">
                                      <a class="btn btn-secondary radius size-S  fileupone" onclick="addBtn(this)" id="fileupones" style="line-height: 17px;">图片上传</a>
                                    <a class="btn btn-secondary radius size-S  deletfile" style="line-height: 17px;" onclick="deletfilefns(this)">图片删除</a>
                                     </span>
                              </div>
                        </div>
                        <div>
                            <span style="margin-left: -485px;">*限制尺寸238*30；限制大小1M</span>
                        </div>

                        <div class="row ml-10 clearfix">
                            <span style="float: left;margin-left: 234px;">二维码配置</span><br>
                            <div style="float:left;margin: 0 30px 0 206px;width: 122px;height: 122px;" class=" pic_up"><img title=""  width="112" height="112" src="" id="myImg2"></div>
                            <div style="float:left;">
                                  <span>
                                     <input id="fileUpone2" type="file" style="display: none"  onchange="putDataToPage(event,this,2)" accept=".jpg,.png,.jpeg"  name="file"  class="fileupmoban">
                                      <a class="btn btn-secondary radius size-S  fileupone" onclick="addBtn(this)" id="fileupones2" style="line-height: 17px;">图片上传</a>
                                    <a class="btn btn-secondary radius size-S  deletfile" style="line-height: 17px;" onclick="deletfilefns(this)">图片删除</a>
                                     </span>

                            </div>
                        </div>
                        <div class="row ml-10 clearfix" style="margin-left: 176px;"><input class="input-text f-l ml-40 radius" type="text" id="QRcode" style="width: 124px;" placeholder="二维码名称" autocomplete="off" onkeyup="value=value.replace(/[^\a-zA-Z\u4E00-\u9FA5]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\a-zA-Z\u4E00-\u9FA5]/g,''))" maxlength="10"></div>

                        <div class="row ml-10 clearfix" style="margin-left: 267px;float: left"><span  id="imgts" style="color: #dd0000;display: none">这是必填字段</span></div><br>
                        <div>
                            <span style="margin-left: -485px;">*限制尺寸80*80；限制大小1M</span>
                        </div>
                    </td>
                    <td>
                        <div class="row ml-10 clearfix">
                            <span style="float: left;margin-left: 234px;"></span><br>
                            <div style="float:left;margin: 161px 0px 0 -303px;width: 122px;height: 122px;position: relative;" class=" pic_up"><img title=""  width="112" height="112" src="" id="myImg3"></div>
                            <div style="float:left;margin: 161px 0px 0px -151px;position: relative;">
                                  <span>
                                     <input id="fileUpone3" type="file" style="display: none"  onchange="putDataToPage(event,this,2)" accept=".jpg,.png,.jpeg"  name="file"  class="fileupmoban">
                                      <a class="btn btn-secondary radius size-S  fileupone" onclick="addBtn(this)" id="fileupones3" style="line-height: 17px;">图片上传</a>
                                    <a class="btn btn-secondary radius size-S  deletfile" style="line-height: 17px;" onclick="deletfilefns(this)">图片删除</a>
                                     </span>
                            </div>
                        </div>
                        <div class="row ml-10 clearfix" style="margin-left: -331px;position: relative;"><input class="input-text f-l ml-40 radius" id="QRcode2" type="text" style="width: 124px;" placeholder="二维码名称" autocomplete="off" onkeyup="value=value.replace(/[^\a-zA-Z\u4E00-\u9FA5]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\a-zA-Z\u4E00-\u9FA5]/g,''))" maxlength="10"></div>
                        <div class="row ml-10 clearfix"style="margin-left: -241px;float: left"><span  id="imgts2"  style="color: #dd0000;display: none">这是必填字段</span></div><br>
                        <div>
                            <span style="margin-left: -657px;">*限制尺寸80*80；限制大小1M</span>
                        </div>
                    </td>

                </tr>
                <tr>
                    <td>
                        <div class="row ml-10 clearfix">
                            <span style="float: left;margin-left: 205px;"><span class="c-red mr-5 ml-30 va-t">*</span>链接logo</span><br>
                            <div style="float:left;margin: 0 30px 0 206px;width: 122px;height: 122px;" class=" pic_up"><img title=""  width="112" height="112" src="" id="myImg4"></div>
                            <div style="float:left;">
                                  <span>

                                     <input id="fileUpone4" type="file" style="display: none"  onchange="putDataToPage(event,this,3)" accept=".ico"  name="file"  class="fileupmoban">
                                      <a class="btn btn-secondary radius size-S  fileupone" onclick="addBtn(this)" id="fileupones4" style="line-height: 17px;">图片上传</a>
                                    <a class="btn btn-secondary radius size-S  deletfile" style="line-height: 17px;" onclick="deletfilefns(this)">图片删除</a>
                                     </span>
                            </div>
                        </div>
                        <div>
                            <span style="margin-left: -485px;">*限制尺寸32*32；格式为ico</span>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="row ml-10 clearfix">
                            <label class="f-l w-200 text-r"><span class="c-red mr-5 ml-30 va-t">*</span><span>首页联系电话配置：</span></label>
                            <div class="formControls f-l">
                            <input id="websitePhone" style="width: 537px;" class="input-text f-l w-250 radius" name="contactNumber" maxlength="20" onkeyup="checkText()"  placeholder="请输入首页联系电话配置" autocomplete="off" >
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="row ml-10 clearfix">
                            <label class="f-l w-200 text-r"><span>首页备案号配置：</span></label>
                            <div class="formControls f-l">
                                <input id="websiteCaseNumber" style="width: 537px;" class="input-text f-l w-250 radius" name="contactNumber" maxlength="30" placeholder="请输入首页联系电话配置" autocomplete="off" >
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="row ml-10 clearfix">
                            <label class="f-l w-200 text-r"><span>首页友链接配置：</span></label>
                            <a class="btn  radius size-S" style="float:left;" onclick="newlyAdded()">新增</a>
                        </div>

                        <div class="homepages">

                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="row ml-10 clearfix">
                            <label class="f-l w-200 text-r"><span class="c-red mr-5 ml-30 va-t">*</span><span>TDK设置：</span></label>
                            <div class="formControls col-xs-8 col-sm-9 f-l" style="margin: 0px 0px 0px 177px;">
                                <label class="f-l lh-26  text-r"><span>Title：</span></label>
                                <textarea name="remarkVal1"  class="textarea radius" id="comfirmRemark" maxlength="300"></textarea>
                            </div>
                            <div class="formControls col-xs-8 col-sm-9 f-l" style="margin: 0px 0px 0px 177px;">
                                <label class="f-l lh-26  text-r"><span>Description：</span></label>
                                <textarea name="remarkVal2"  class="textarea radius" id="comfirmRemark2" maxlength="300"></textarea>
                            </div>
                            <div class="formControls col-xs-8 col-sm-9 f-l" style="margin: 0px 0px 0px 177px;">
                                <label class="f-l lh-26  text-r"><span>Keywords：</span></label>
                                <textarea name="remarkVal3"  class="textarea radius" id="comfirmRemark3" maxlength="300"></textarea>
                            </div>
                        </div>
                        <input id="TDKid" style="display: none">
                    </td>
                </tr>
                </tbody>
            </table>

            <div class="text-c mt-20">

                <input type="button" onclick="cancelBtn()" style="margin-left: 48px;" value="取消" class="btn btn-secondary size-S radius">
                <input type="submit"  style="margin-left: 47px;" value="保存" class="btn btn-secondary size-S radius">
            </div>
            <div class="text-c mt-20">

            </div>
        </div>

    </form>
</article>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="../../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/layer/2.4/layer.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script> <!--/_footer 作为公共模版分离出去-->
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="../../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
<!--表单验证-->
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
<script src="../../../ht-js/public.js?rev=@@hash"></script>
<!--验证token-->
<script src="../../../ht-js/verifyToken.js?rev=@@hash"></script>
<script src="../../../ht-js/operation-js/special/special_link.js?rev=@@hash"></script><!--落地页配置-->
<script src="../../../ht-js/brandWebsite/homePage/settingDetails.js?rev=@@hash"></script>


<script type="text/javascript">
    //取消
    function cancelBtn() {
        var cu = layer.confirm('<span>是否不保存退出当前页面？</span>', {title:'提示',btn: ['确认', '取消']}, function(index){
            parent.layer.closeAll();
            layer.close(cu);
        },function(){
            layer.close(cu);

        });

    }



    /*$('#adPcUrl').bind('input propertychange',function () {
        var c=$(this);
        if(/^[A-Za-z]/.test(c.val())) {
            //替换字母字符
            var temp_amount = c.val().replace(/^[A-Za-z]/g, '');
            $(this).val(temp_amount);
        }else if(/[\u4e00-\u9fa5]/.test(c.val())) {
            //替换汉字字符
            var temp_amount = c.val().replace(/[\u4e00-\u9fa5]/g, '');
            $(this).val(temp_amount);
        }
    })*/
    function checkText(){
        var val = document.getElementById('websitePhone').value;
        var reg = /([\u4E00-\u9FA5]|[A-Za-z])+/;//只要包含中文或者字母就提示
        if(reg.test(val)){
            layer.msg('不能输入中文英文', {icon: 5, time: 1000});
            $("#websitePhone").val("");
            return false;
        }
    }


</script>
</body>
</html>